import { httpDelete, httpGet, httpPost, httpPut } from "@/utils/http"

// 获取机构数据
export const findMedicinesApi = (data) => {
    return httpPost('/medicines/search', data)
}
// 添加机构数据
export const addMedicinesApi = (data) => {
    return httpPost('/medicines/add', data)
}
// 删除机构数据
export const deleteMedicinesApi = (data) => {
    return httpDelete('/medicines/remove', data)
}
// 修改机构数据
export const updateMedicinesApi = (data) => {
    return httpPut('/medicines/update', data)
}